<!--{eval $_TPL['titles'] = array('发布稿件');}-->
<!--{template header}-->
<script language="javascript" src="image/editor/editor_function.js"></script>
<script language="javascript" src="source/script_upload_jq.js"></script>
<link href="template/default/contribute_add.css" rel="stylesheet" type="text/css" />
<div id="content">
	<h2>欢迎参加征稿活动</h2>
	<div class="cont">
		<form id="cbform" name="cbform" action="contribute.php?cb=addsave" method="post" enctype="multipart/form-data">
			<div class="cont_name"><span class="cont_t">稿件名称：</span><input type="text" name="title" /></div>
			<div class="cont_type">
				<span class="cont_t">活动名称：</span>
				<select name="type">
					<option value="">请选择活动</option>
					<!--{loop $cont_type $value}-->
						<option value="$value['tid']">$value['type']</option>
					<!--{/loop}-->
				</select>
			</div>
			<div class="cont_content">
				<span class="cont_t">编写稿件：</span><a id="doodleBox" href="magic.php?mid=doodle&showid=blog_doodle&target=uchome-ttHtmlEditor&from=editor" style="display:none"></a><textarea class="userData" name="content" id="uchome-ttHtmlEditor" style="height:100%;width:100%;display:none;border:0px"></textarea><iframe src="editor.php?charset=$_SC[charset]&allowhtml=1" name="uchome-ifrHtmlEditor" id="uchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:100%;border: 1px solid #C5C5C5;" height="400"></iframe>
			</div>
			<div class="cont_content">
				<span class="cont_t">奖品内容：</span><a id="doodleBox" href="magic.php?mid=doodle&showid=blog_doodle&target=uchome-ttHtmlEditor&from=editor" style="display:none"></a><textarea class="userData" name="prize" id="uchome-ttHtmlEditor" style="height:100%;width:100%;display:none;border:0px"></textarea><iframe src="editor.php?charset=$_SC[charset]&allowhtml=1" name="uchome-ifrHtmlEditor" id="uchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:100%;border: 1px solid #C5C5C5;" height="400"></iframe>
			</div>
			<div class="cont_flie"><span class="cont_t">上传附件：</span><input type="text" id='image_1_link' name="file" size="40"> <input type="button" name="clickbutton[]" value="上传" class="button" onclick="uploadsimg('image_1_link')" />(可上传.doc稿件)</div>
			<div class="cont_type"><span class="cont_t">稿件公开：</span>
				<label><input type="radio" name="show" value="0" checked="checked" />公开</label>
				<label><input type="radio" name="show" value="1" />不公开</label>
			</div>
			<div class="cont_submit"><input type="submit" name="submit" value="发布" onclick="edit_save();" /><a href="contribute.php">返回</a></div>
		</form>
	</div>
</div>
<!--{template footer}-->